package com.vows.util;

/**
 * Created by jazzy-zhao on 2017/7/23.
 *
 */
public class Drawer {
    public synchronized void drawer(String name,int number){
       //  synchronized (this) {
             //int number=5;
             for (int i = 5; i > 0; i--) {
                 number--;
                 System.out.println("processing: " + name + ":" + number);
             }
         //}
    }

}

